<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tolc: app/index.php File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../tolc_logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tolc
   &#160;<span id="projectnumber">v 1.00</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('de/d20/index_8php.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">index.php File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="../../de/d20/index_8php_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a85ae3e64cd40e9564adceb010085e9dd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a85ae3e64cd40e9564adceb010085e9dd">$debug</a> = false</td></tr>
<tr class="separator:a85ae3e64cd40e9564adceb010085e9dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf215f34a917d014776ce684a9ee8909"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#acf215f34a917d014776ce684a9ee8909">$url</a> = mb_substr(urldecode($_SERVER['REQUEST_URI']), mb_strlen($tolc_conf['project_url']))</td></tr>
<tr class="separator:acf215f34a917d014776ce684a9ee8909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aade344cce1be54c59ecd3050dd9894f2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#aade344cce1be54c59ecd3050dd9894f2">$url_length</a> = min($tolc_conf['pref_url_max_length'], <a class="el" href="../../d6/d75/init_8php.html#ac913e6c3da3790f32597e15e7471411b">CONST_URL_DB_MAXLENGTH</a>)</td></tr>
<tr class="separator:aade344cce1be54c59ecd3050dd9894f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4051266b6103672dbb03140aec5e9994"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a4051266b6103672dbb03140aec5e9994">$remove_accents</a> = $tolc_conf['pref_url_remove_accents']</td></tr>
<tr class="separator:a4051266b6103672dbb03140aec5e9994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a857d1c9b34992f955185d20c3241fd87"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a857d1c9b34992f955185d20c3241fd87">$convert_to_lower_case</a> = $tolc_conf['pref_url_convert_to_lower_case']</td></tr>
<tr class="separator:a857d1c9b34992f955185d20c3241fd87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad98f1b0945b0e29c316b69e1ff69db92"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#ad98f1b0945b0e29c316b69e1ff69db92">$replace_space_between_words_with_dash</a> = $tolc_conf['pref_url_replace_space_between_words_with_dash']</td></tr>
<tr class="separator:ad98f1b0945b0e29c316b69e1ff69db92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1993a970d40fb76abf5e713d3b20671"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#ac1993a970d40fb76abf5e713d3b20671">$valid_url</a> = <a class="el" href="../../d8/dfd/utils_8php.html#adc3d2aaaf8242b0db6211c72e955b7c8">valid_url</a>($url, <a class="el" href="../../d6/d75/init_8php.html#a4ac696a4afac23226b2ec54851c0915a">CONST_REGEX_SANITIZE_URL</a>, <a class="el" href="../../d6/d75/init_8php.html#a0692efa1015e864be063286f7c9cc6d4">CONST_REGEX_SANITIZE_URL_LEGACY</a>)</td></tr>
<tr class="separator:ac1993a970d40fb76abf5e713d3b20671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cbdf07421b8b954ed8b1f6547011c01"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>($url== '/app/index.php'||$url== <br class="typebreak"/>
'/app/')&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a1cbdf07421b8b954ed8b1f6547011c01">$conn</a> = <a class="el" href="../../d2/d1c/utils__db_8php.html#a9130b08511e6b3e5efd303a8cb48b4e8">get_db_conn</a>($tolc_conf['dbdriver'])</td></tr>
<tr class="separator:a1cbdf07421b8b954ed8b1f6547011c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc4b544b19302bbce0789e4f8e5857ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>(isset($_SESSION['username']))&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#afc4b544b19302bbce0789e4f8e5857ec">$dt</a> = <a class="el" href="../../d8/dfd/utils_8php.html#af4a2ee0fcc1938603a0df8cb02e51fbd">now</a>($_SESSION['user_timezone'])</td></tr>
<tr class="separator:afc4b544b19302bbce0789e4f8e5857ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add7a69b942b0d7adf027ddf287d80627"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>(in_array(mb_strtolower($url), <br class="typebreak"/>
array_map('mb_strtolower', <br class="typebreak"/>
$tolc_conf['pref_reserved_urls'])))&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#add7a69b942b0d7adf027ddf287d80627">else</a></td></tr>
<tr class="separator:add7a69b942b0d7adf027ddf287d80627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf6b59bede49d73754040dbdb1ec28e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#aaf6b59bede49d73754040dbdb1ec28e4">$www_page_versions_id</a> = 0</td></tr>
<tr class="separator:aaf6b59bede49d73754040dbdb1ec28e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace7d5ca2414fbd4f411985155fe2f643"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#ace7d5ca2414fbd4f411985155fe2f643">$page_title</a> = <a class="el" href="../../d5/dd6/gettext__missing_8php.html#a3c20d7b28b08b0ee319c8dffdc979b75">gettext</a>('Invalid URL')</td></tr>
<tr class="separator:ace7d5ca2414fbd4f411985155fe2f643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c7dd25f14aa3aef085057053f4c8399"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>($debug)&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a3c7dd25f14aa3aef085057053f4c8399">$a_template</a> = <a class="el" href="../../d6/dfd/utils__cms_8php.html#a9f54a511e68e3e64b7c61ecd1c908989">get_page_template</a>($conn, $www_pages_id, $dt)</td></tr>
<tr class="separator:a3c7dd25f14aa3aef085057053f4c8399"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3275005006cea4174b9c60706576b73"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#af3275005006cea4174b9c60706576b73">$www_templates_id</a> = $a_template['template_id']</td></tr>
<tr class="separator:af3275005006cea4174b9c60706576b73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ba5b535b139c92dc36ac5c9b8c18186"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a9ba5b535b139c92dc36ac5c9b8c18186">$template_path</a> = $a_template['template_path']</td></tr>
<tr class="separator:a9ba5b535b139c92dc36ac5c9b8c18186"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81a0f5ac832f9296d427080af9383791"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a81a0f5ac832f9296d427080af9383791">$template_file</a> = $a_template['template_file']</td></tr>
<tr class="separator:a81a0f5ac832f9296d427080af9383791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17fffe823c0351a4c73f199924a0f641"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a17fffe823c0351a4c73f199924a0f641">$css_url</a> = $a_template['css_url']</td></tr>
<tr class="separator:a17fffe823c0351a4c73f199924a0f641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31474d1b2daf374055a779407b85e01f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a31474d1b2daf374055a779407b85e01f">$template_base_url</a> = $tolc_conf['project_url'] . $template_path</td></tr>
<tr class="separator:a31474d1b2daf374055a779407b85e01f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57baa857d461b32a203cfbfd41cc57d1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a57baa857d461b32a203cfbfd41cc57d1">$template_html</a> = ob_get_contents()</td></tr>
<tr class="separator:a57baa857d461b32a203cfbfd41cc57d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f96e7fc92441776c9d1cd3386663b40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a6f96e7fc92441776c9d1cd3386663b40">$html</a> = new simple_html_dom()</td></tr>
<tr class="separator:a6f96e7fc92441776c9d1cd3386663b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2543e9b47e80dcb7b7404e9d22ac70d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#ae2543e9b47e80dcb7b7404e9d22ac70d">$a_tpl_head</a> = <a class="el" href="../../d6/dfd/utils__cms_8php.html#ab025d281a8114b37826d621f93b8fb70">parse_template_head</a>($html, $template_base_url)</td></tr>
<tr class="separator:ae2543e9b47e80dcb7b7404e9d22ac70d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae777e53a7768c7b22ebe798c01b4e54d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#ae777e53a7768c7b22ebe798c01b4e54d">$template_favicon_html</a> = $a_tpl_head['template_favicon_html']</td></tr>
<tr class="separator:ae777e53a7768c7b22ebe798c01b4e54d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ad836e608dcc6dc42762a0c35a2366b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a3ad836e608dcc6dc42762a0c35a2366b">$template_link_html</a> = $a_tpl_head['template_link_html']</td></tr>
<tr class="separator:a3ad836e608dcc6dc42762a0c35a2366b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a283004c24435a04b02a95d0412c0866d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a283004c24435a04b02a95d0412c0866d">$template_scripts_html</a> = $a_tpl_head['template_scripts_html']</td></tr>
<tr class="separator:a283004c24435a04b02a95d0412c0866d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a339f5e050c43eedaf57606d54acf2d1f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a339f5e050c43eedaf57606d54acf2d1f">$template_meta_html</a> = $a_tpl_head['template_meta_html']</td></tr>
<tr class="separator:a339f5e050c43eedaf57606d54acf2d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cd31f10c77bc51db0a8a80f08d61ce0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a4cd31f10c77bc51db0a8a80f08d61ce0">$a_active_elements</a> = <a class="el" href="../../d6/dfd/utils__cms_8php.html#a7ceb917fb4bd67db7f6be554347747fc">get_template_active_elements</a>($conn, $www_templates_id)</td></tr>
<tr class="separator:a4cd31f10c77bc51db0a8a80f08d61ce0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a796100c1b57fb5aa0bb5abe8dc8069f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a796100c1b57fb5aa0bb5abe8dc8069f6">$active_elements</a> = (isset($_SESSION['username']) &amp;&amp; $www_pages_id &gt; 0) ? implode(', ', $a_active_elements) : ''</td></tr>
<tr class="separator:a796100c1b57fb5aa0bb5abe8dc8069f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfbadc4bc36efe9dd2aaa0d99ca7f260"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>($www_page_versions_id &gt; 0)&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#abfbadc4bc36efe9dd2aaa0d99ca7f260">$page_title_html</a> = '&lt;title&gt;' . $page_title . '&lt;/title&gt;'</td></tr>
<tr class="separator:abfbadc4bc36efe9dd2aaa0d99ca7f260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41e7daff86ac2589aa621c770c2cd008"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a41e7daff86ac2589aa621c770c2cd008">$tolc_include</a> = true</td></tr>
<tr class="separator:a41e7daff86ac2589aa621c770c2cd008"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a536af6ff27f8945f344b5ca2d561f734"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a536af6ff27f8945f344b5ca2d561f734">$tolc_head_css_html</a> = ob_get_contents()</td></tr>
<tr class="separator:a536af6ff27f8945f344b5ca2d561f734"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d193a6fed82ef6ef00283f5ced66fad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a6d193a6fed82ef6ef00283f5ced66fad">$tolc_head_js_html</a> = ob_get_contents()</td></tr>
<tr class="separator:a6d193a6fed82ef6ef00283f5ced66fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add5388f318d1a0c14bdbd87e7921808c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#add5388f318d1a0c14bdbd87e7921808c">$tolc_panel_html</a> = ob_get_contents()</td></tr>
<tr class="separator:add5388f318d1a0c14bdbd87e7921808c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65bd6ce2b711beda57f6ebad1569df66"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#a65bd6ce2b711beda57f6ebad1569df66">$tolc_functions_html</a> = ob_get_contents()</td></tr>
<tr class="separator:a65bd6ce2b711beda57f6ebad1569df66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6de453e84e2f5407bdc095f5838a10a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>($debug)&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#ab6de453e84e2f5407bdc095f5838a10a">$template_head</a> = $html-&gt;getElementByTagName('head')</td></tr>
<tr class="separator:ab6de453e84e2f5407bdc095f5838a10a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae84530e596e2a88e23eb1683f762b89f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>($template_head)&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d20/index_8php.html#ae84530e596e2a88e23eb1683f762b89f">$template_body</a> = $html-&gt;getElementByTagName('body')</td></tr>
<tr class="separator:ae84530e596e2a88e23eb1683f762b89f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a4cd31f10c77bc51db0a8a80f08d61ce0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$a_active_elements = <a class="el" href="../../d6/dfd/utils__cms_8php.html#a7ceb917fb4bd67db7f6be554347747fc">get_template_active_elements</a>($conn, $www_templates_id)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00129">129</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a3c7dd25f14aa3aef085057053f4c8399"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($debug) $a_template = <a class="el" href="../../d6/dfd/utils__cms_8php.html#a9f54a511e68e3e64b7c61ecd1c908989">get_page_template</a>($conn, $www_pages_id, $dt)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00099">99</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="ae2543e9b47e80dcb7b7404e9d22ac70d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$a_tpl_head = <a class="el" href="../../d6/dfd/utils__cms_8php.html#ab025d281a8114b37826d621f93b8fb70">parse_template_head</a>($html, $template_base_url)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00122">122</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a796100c1b57fb5aa0bb5abe8dc8069f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$active_elements = (isset($_SESSION['username']) &amp;&amp; $www_pages_id &gt; 0) ? implode(', ', $a_active_elements) : ''</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00130">130</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a1cbdf07421b8b954ed8b1f6547011c01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($url== '/app/index.php'||$url== '/app/') $conn = <a class="el" href="../../d2/d1c/utils__db_8php.html#a9130b08511e6b3e5efd303a8cb48b4e8">get_db_conn</a>($tolc_conf['dbdriver'])</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00036">36</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a857d1c9b34992f955185d20c3241fd87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$convert_to_lower_case = $tolc_conf['pref_url_convert_to_lower_case']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00022">22</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a17fffe823c0351a4c73f199924a0f641"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$css_url = $a_template['css_url']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00103">103</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a85ae3e64cd40e9564adceb010085e9dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$debug = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00014">14</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="afc4b544b19302bbce0789e4f8e5857ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> (isset($_SESSION['username'])) $dt = <a class="el" href="../../d8/dfd/utils_8php.html#af4a2ee0fcc1938603a0df8cb02e51fbd">now</a>($_SESSION['user_timezone'])</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00047">47</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a6f96e7fc92441776c9d1cd3386663b40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$html = new simple_html_dom()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00113">113</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="ace7d5ca2414fbd4f411985155fe2f643"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$page_title = <a class="el" href="../../d5/dd6/gettext__missing_8php.html#a3c20d7b28b08b0ee319c8dffdc979b75">gettext</a>('Invalid URL')</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00085">85</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="abfbadc4bc36efe9dd2aaa0d99ca7f260"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($www_page_versions_id &gt; 0) $page_title_html = '&lt;title&gt;' . $page_title . '&lt;/title&gt;'</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00138">138</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a4051266b6103672dbb03140aec5e9994"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$remove_accents = $tolc_conf['pref_url_remove_accents']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00021">21</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="ad98f1b0945b0e29c316b69e1ff69db92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$replace_space_between_words_with_dash = $tolc_conf['pref_url_replace_space_between_words_with_dash']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00023">23</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a31474d1b2daf374055a779407b85e01f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_base_url = $tolc_conf['project_url'] . $template_path</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00104">104</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="ae84530e596e2a88e23eb1683f762b89f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($template_head) $template_body = $html-&gt;getElementByTagName('body')</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00206">206</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="ae777e53a7768c7b22ebe798c01b4e54d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_favicon_html = $a_tpl_head['template_favicon_html']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00123">123</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a81a0f5ac832f9296d427080af9383791"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_file = $a_template['template_file']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00102">102</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="ab6de453e84e2f5407bdc095f5838a10a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($debug) $template_head = $html-&gt;getElementByTagName('head')</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00193">193</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a57baa857d461b32a203cfbfd41cc57d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_html = ob_get_contents()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00109">109</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a3ad836e608dcc6dc42762a0c35a2366b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_link_html = $a_tpl_head['template_link_html']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00124">124</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a339f5e050c43eedaf57606d54acf2d1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_meta_html = $a_tpl_head['template_meta_html']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00126">126</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9ba5b535b139c92dc36ac5c9b8c18186"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_path = $a_template['template_path']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00101">101</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a283004c24435a04b02a95d0412c0866d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_scripts_html = $a_tpl_head['template_scripts_html']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00125">125</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a65bd6ce2b711beda57f6ebad1569df66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tolc_functions_html = ob_get_contents()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00183">183</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a536af6ff27f8945f344b5ca2d561f734"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tolc_head_css_html = ob_get_contents()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00165">165</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a6d193a6fed82ef6ef00283f5ced66fad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tolc_head_js_html = ob_get_contents()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00171">171</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="a41e7daff86ac2589aa621c770c2cd008"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tolc_include = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00144">144</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="add5388f318d1a0c14bdbd87e7921808c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$tolc_panel_html = ob_get_contents()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00177">177</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="acf215f34a917d014776ce684a9ee8909"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$url = mb_substr(urldecode($_SERVER['REQUEST_URI']), mb_strlen($tolc_conf['project_url']))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00017">17</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="aade344cce1be54c59ecd3050dd9894f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$url_length = min($tolc_conf['pref_url_max_length'], <a class="el" href="../../d6/d75/init_8php.html#ac913e6c3da3790f32597e15e7471411b">CONST_URL_DB_MAXLENGTH</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00020">20</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="ac1993a970d40fb76abf5e713d3b20671"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$<a class="el" href="../../d8/dfd/utils_8php.html#adc3d2aaaf8242b0db6211c72e955b7c8">valid_url</a> = <a class="el" href="../../d8/dfd/utils_8php.html#adc3d2aaaf8242b0db6211c72e955b7c8">valid_url</a>($url, <a class="el" href="../../d6/d75/init_8php.html#a4ac696a4afac23226b2ec54851c0915a">CONST_REGEX_SANITIZE_URL</a>, <a class="el" href="../../d6/d75/init_8php.html#a0692efa1015e864be063286f7c9cc6d4">CONST_REGEX_SANITIZE_URL_LEGACY</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00027">27</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="aaf6b59bede49d73754040dbdb1ec28e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$www_page_versions_id = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00084">84</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="af3275005006cea4174b9c60706576b73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$www_templates_id = $a_template['template_id']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00100">100</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
<a class="anchor" id="add7a69b942b0d7adf027ddf287d80627"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($template_body) <a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($tolc_conf['pref_use_tidy']&amp;&amp;function_exists('tidy_parse_string')) else</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">{</div>
<div class="line">        <a class="code" href="../../d0/d3d/ajax__new__page_8php.html#a395f20d5378de643ef8d64e86d6bba9a">$_SESSION</a>[<span class="stringliteral">&#39;url&#39;</span>] = <a class="code" href="../../db/ded/ajax__user_8php.html#acf215f34a917d014776ce684a9ee8909">$url</a></div>
</div><!-- fragment --><p>set default favicon in case template has no favicon (just for Chrome) <a href="http://code.google.com/p/chromium/issues/detail?id=39402">http://code.google.com/p/chromium/issues/detail?id=39402</a> Chrome requests favicons on every request on pages that don't have a favicon (SCRIPT MAY RUNS TWICE if .ico are not excluded from .htaccess, which is the default) </p>

<p>Definition at line <a class="el" href="../../de/d20/index_8php_source.html#l00055">55</a> of file <a class="el" href="../../de/d20/index_8php_source.html">index.php</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d422163b96683743ed3963d4aac17747.html">app</a></li><li class="navelem"><a class="el" href="../../de/d20/index_8php.html">index.php</a></li>
    <li class="footer">Generated on Fri Aug 31 2012 22:06:31 for Tolc by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
